home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineButton2_1738 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  1.0 KB  |  32 lines

  1. on(press){
  2.    if(_root.inven._currentframe == 1)
  3.    {
  4.       if(_root.micon._currentframe == 40 && _root.range == true)
  5.       {
  6.          _root.next_dis1 = 2;
  7.          _root.next_txt1 = "Now that\'s just cruel!";
  8.       }
  9.       else if(_root.micon._currentframe == 41 && _root.range == true)
  10.       {
  11.          _root.next_dis1 = 2;
  12.          _root.next_txt1 = "Hmm can dogs cry?";
  13.       }
  14.       if(_root.micon._currentframe == 1 && _root.range == true)
  15.       {
  16.          _root.next_dis1 = 2;
  17.          _root.next_txt1 = "I\'m not so much a fan of rabies.";
  18.       }
  19.       if(_root.micon._currentframe == 2)
  20.       {
  21.          _root.next_dis1 = 2;
  22.          _root.next_txt1 = "It appears to be some stray dog which is sitting on a pair of movie tickets.";
  23.       }
  24.       if(_root.micon._currentframe == 24 && _root.range == true)
  25.       {
  26.          _root.even24 = 1;
  27.          _root.next_dis1 = 2;
  28.          _root.next_txt1 = "I\'m not going to get him to move by just feeding him.  I need a better idea.";
  29.       }
  30.    }
  31. }
  32.